/**
 * The WizardStepHeader user-interface component class
 * @class syslib.ui.WizardStepHeader
 * @author Gabriel Ricci
 */
syslib.ui.WizardStepHeader = __class(syslib.ui.VisualTag,
/** 
 * @lends syslib.ui.WizardStepHeader
 */ 
{
	__parentTagName : "wizardstep",
	wizardStep : null, 
	
	prepare : function(){
		// get the parent
		this.wizardStep = this.__parent;
		
		// return
		return true;
	}, 
	execute : function(){
		// create the structure
		var structure = ["div", this.__innerHTML];
		
		// set the destiny container
		this.__appendTo = this.wizardStep.__refs.title;
		
		// clear the destiny
		this.wizardStep.__refs.title.innerHTML = "";
		
		// create the object
		var wizardStepHeader = this.createDOM(structure);

		// return
		return wizardStepHeader;
	}, 
	finalize : function(){
		// return
		return true;
	}
});